package com.kun.entity;

import java.io.Serializable;
import java.util.HashSet;
import java.util.Set;

/**
 * 管理员实体类
 * @author Administrator
 *
 */
public class SysUserEntity implements Serializable{
	
	private static final long serialVersionUID = 1L;
	
	private String sysUserId ;
	private String sysUserName ;
	private String sysUserPass;
	//private int sysUserDptId ;
	private String sysUserPhone;
	
	//一个用户可以拥有多个角色
	private Set<SysRoleEntity> roles = new HashSet<SysRoleEntity>();
	
	public Set<SysRoleEntity> getRoles() {
		return roles;
	}
	public void setRoles(Set<SysRoleEntity> roles) {
		this.roles = roles;
	}
	public String getSysUserId() {
		return sysUserId;
	}
	public void setSysUserId(String sysUserId) {
		this.sysUserId = sysUserId;
	}
	public String getSysUserName() {
		return sysUserName;
	}
	public void setSysUserName(String sysUserName) {
		this.sysUserName = sysUserName;
	}

	/**
	 * 这里部门就没有添加了！
	 * public int getSysUserDptId() {
		return sysUserDptId;
	}
	public void setSysUserDptId(int sysUserDptId) {
		this.sysUserDptId = sysUserDptId;
	}*/
	public String getSysUserPhone() {
		return sysUserPhone;
	}
	public void setSysUserPhone(String sysUserPhone) {
		this.sysUserPhone = sysUserPhone;
	}
	public String getSysUserPass() {
		return sysUserPass;
	}
	public void setSysUserPass(String sysUserPass) {
		this.sysUserPass = sysUserPass;
	}
	
}
